import React, { Component } from "react";

import { addNavigationHelpers } from "react-navigation";
import NavigationStack from "./navigationStack";

class AppNavigation extends Component {
  render() {
    <NavigationStack
      navigation={addNavigationHelpers({ dispatch, state: navigationState })}
    />;
  }
}
const mapStateToProps = (state, ownProps) => {
  return {
    navigationState: state.NavigationReducer
  };
};
export default connect(mapStateToProps)(AppNavigation);
